package com.maiji.cloud.service;

import com.maiji.cloud.entities.manager.Role;
import com.baomidou.mybatisplus.service.IService;
import com.maiji.cloud.request.ReqMetaData;
import com.maiji.cloud.request.manager.RoleAddReqData;
import com.maiji.cloud.response.BaseMetaResDto;
import com.maiji.cloud.response.BaseResDto;
import java.util.List;

public interface RoleService extends IService<Role> {

    BaseMetaResDto<List<Role>> findAllRoles(String roleName, ReqMetaData metaData);

    BaseResDto updRole(Role role);

    BaseResDto addRole(RoleAddReqData data);

    BaseResDto delRole(String roleId);

}
